Both sides previous revisionPrevious revisionNext revision | Previous revision |
panel-plugins:xfce4-genmon-plugin:start [2023/04/24 20:28] – [Usage] toz | panel-plugins:xfce4-genmon-plugin:start [2023/12/25 13:25] (current) – [Advanced Features] updated link toz |
---|
* Note: | * Note: |
* To hide the tooltip bubble, use an empty tool tag, eg: ''echo "<tool></tool>"'' | * To hide the tooltip bubble, use an empty tool tag, eg: ''echo "<tool></tool>"'' |
| * The tooltip will not display with a cycle of less than 0.5 (see: [[https://gitlab.gnome.org/GNOME/gtk/-/issues/826]]) |
* **<bar>Percentage to display in the bar</bar>** | * **<bar>Percentage to display in the bar</bar>** |
* Display a value-based progress bar on the plugin. | * Display a value-based progress bar on the plugin. |
**Pango Text Markup Support** | **Pango Text Markup Support** |
| |
Both the <txt> and <tool> tags support Pango Markups. See: [[https://docs.gtk.org/Pango/pango_markup.html]]. With Pango markups, you can change text attributes like font colour, weight, size, etc, in your output string. To do so, use the <span></span> tag within the <txt></txt> or <tool></tool> tags. For example, to display the output in bold red and italic, you could use something like: | Both the <txt> and <tool> tags support Pango Markups. See: [[https://docs.gtk.org/Pango/pango_markup.html]]. With Pango markups, you can change text attributes like font colour, weight, size, etc, in your output string. To do so, use the <span></span> (or any convenience) tag within the <txt></txt> or <tool></tool> tags. For example, to display the output in bold red and italic, you could use something like: |
| |
echo "<txt><span weight='Bold' fgcolor='Red'><i>Test</i></span></txt>" | echo "<txt><span weight='Bold' fgcolor='Red'><i>Test</i></span></txt>" |
where "genmon-X" is the widget name of the particular genmon instance. To get this name, go to the panel properties screen and on the Items tab, hover your mouse over the genmon plugin to get it's internal name. | where "genmon-X" is the widget name of the particular genmon instance. To get this name, go to the panel properties screen and on the Items tab, hover your mouse over the genmon plugin to get it's internal name. |
| |
As of version 4.2.0, there is also now an "Update Now" menu item on the plugin right-click menu to immediately update the plugin (this does not reset the timer): | As of version 4.2.0, an "Update Now" menu item was added to the plugin right-click menu to immediately update the plugin (this does not reset the timer): |
| |
{{:panel-plugins:xfce4-genmon-plugin:updatenowmenu.png?150|}} | {{:panel-plugins:xfce4-genmon-plugin:updatenowmenu.png?150|}} |
**Enhanced Gtk3 CSS Styling Capabilities** | **Enhanced Gtk3 CSS Styling Capabilities** |
| |
As of version 4.0.1, CSS styling capabilities have been enhanced by providing style classes for all elements of the plugin that can be styled via themes or individual overrides (~/.config/gtk-3.0/gtk.css). For more information, see: [[https://git.xfce.org/panel-plugins/xfce4-genmon-plugin/tree/CSS%20Styling.txt]]. | As of version 4.0.1, CSS styling capabilities have been enhanced by providing style classes for all elements of the plugin that can be styled via themes or individual overrides (~/.config/gtk-3.0/gtk.css). For more information, see: [[https://gitlab.xfce.org/panel-plugins/xfce4-genmon-plugin/-/blob/master/CSS%20Styling.txt]]. |
| |
As of version 4.2.0, this plugin also supports CSS tags (special thanks to @stergem) that allow you to tweak the plugin css directly from within the command/script using <css></css> tags. For example: | And as of version 4.2.0, this plugin also supports CSS tags (special thanks to @stergem) that allow you to tweak the plugin css directly from within the command/script using <css></css> tags. For example: |
<file genmonTest.sh> | <file genmonTest.sh> |
#!/bin/bash | #!/bin/bash |
| |
===== Latest Release ===== | ===== Latest Release ===== |
{{rss>https://archive.xfce.org/feeds/project/xfce4-genmon-plugin 1 date description 2h}} | |
| |
* **[[https://archive.xfce.org/src/panel-plugins/xfce4-genmon-plugin/|Previous Releases]]** | {{rss>https://archive.xfce.org/feeds/project/xfce4-genmon-plugin 1 date 2h}} |
| |
| [[https://gitlab.xfce.org/panel-plugins/xfce4-genmon-plugin/-/blob/master/NEWS|Read the CHANGELOG]] |
| |
| * **[[https://archive.xfce.org/src/panel-plugins/xfce4-genmon-plugin/|Download current release]]** (link also contains older versions) |
| |
[[|Back to Top]] | [[|Back to Top]] |
| |
---- | ---- |
| |
===== Source code repository ===== | ===== Source code repository ===== |
| |
[[https://gitlab.xfce.org/panel-plugins/xfce4-genmon-plugin]] | [[https://gitlab.xfce.org/panel-plugins/xfce4-genmon-plugin]] |
| |
---- | ---- |
| |
===== Reporting Bugs ===== | ===== Reporting Bugs ===== |
| |
* **[[:panel-plugins:xfce4-genmon-plugin:bugs|Reporting Bugs]]** -- Open bug reports and how to report new bugs | * **[[:panel-plugins:xfce4-genmon-plugin:bugs|Reporting Bugs]]** -- Open bug reports and how to report new bugs |
| |